package com.yuyou.tas.util.tool;

import org.apache.commons.codec.digest.DigestUtils;

public class RedisUtil {
	
	public static final String SALT="SALT";
	
	public static String md5Hex(String key) {
		return  DigestUtils.md5Hex(key);
	}
	
	public static String md5HexBySalt(String key) {
		return  DigestUtils.md5Hex(key+SALT);
	}
}
